package com.example.superoa.model.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the rsaps database table.
 * 
 */
@Entity
@Table(name="rsaps")
@NamedQuery(name="Rsap.findAll", query="SELECT r FROM Rsap r")
public class Rsap implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int rsaps_id;

	@Temporal(TemporalType.DATE)
	@Column(name="rsaps_exetime")
	private Date rsapsExetime;

	private String rsaps_Result;

	@Column(name="rsaps_types")
	private String rsapsTypes;

	//bi-directional many-to-one association to Staff
	@ManyToOne
	@JoinColumn(name="staff_id")
	private Staff staff;

	public Rsap() {
	}

	public int getRsaps_id() {
		return this.rsaps_id;
	}

	public void setRsaps_id(int rsaps_id) {
		this.rsaps_id = rsaps_id;
	}

	public Date getRsapsExetime() {
		return this.rsapsExetime;
	}

	public void setRsapsExetime(Date rsapsExetime) {
		this.rsapsExetime = rsapsExetime;
	}

	public String getRsaps_Result() {
		return this.rsaps_Result;
	}

	public void setRsaps_Result(String rsaps_Result) {
		this.rsaps_Result = rsaps_Result;
	}

	public String getRsapsTypes() {
		return this.rsapsTypes;
	}

	public void setRsapsTypes(String rsapsTypes) {
		this.rsapsTypes = rsapsTypes;
	}

	public Staff getStaff() {
		return this.staff;
	}

	public void setStaff(Staff staff) {
		this.staff = staff;
	}

}